package Service;

import android.content.Context;

import com.google.gson.Gson;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;

import Entity.User;
import Entity.commodity;


public class ShouyeService {


	public ArrayList<commodity> get_reco(){
		Gson gson=new Gson();
		Map<String,String> map=new HashMap<String,String>();
		map.put("cmd","get_reco");
		String cmd = gson.toJson(map);
		String str_response =new Transfer_station().transfer(cmd);
		ArrayList<commodity> arr = gson.fromJson(str_response, ArrayList .class);
		return arr;
	}



}
